package com.rongc.client.freight.business.supply.view.fragment;

import android.os.Bundle;
import android.view.View;

import com.rongc.client.core.utils.ActivityUtils;
import com.rongc.client.freight.R;
import com.rongc.client.freight.base.BaseFragment;
import com.rongc.client.freight.business.supply.view.activity.ComplaintsActivity;

import butterknife.OnClick;

/**
 * Created by Bruce on 2017/07/14.
 */
public class SupplyDetailFragment extends BaseFragment implements View.OnClickListener{
    public static SupplyDetailFragment getInstance(){
        SupplyDetailFragment fragment = new SupplyDetailFragment();
        Bundle bdl = new Bundle();
//        bdl.putString("orderType", orderType);
        fragment.setArguments(bdl);
        return fragment;
    }

    @OnClick({R.id.tv_complaints})
    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.tv_complaints:
                ActivityUtils.startActivity(getActivity(), ComplaintsActivity.class);
                break;
        }
    }

    @Override
    public void initData() {
    }

    @Override
    public void initListener() {

    }


    @Override
    public void initView() {

    }


    @Override
    public int getLayoutId() {
        return R.layout.fragment_conveyance_detail;
    }
}
